package com.yz.design.strategyDesign;

/**
 * @author 广长
 * @version V1.0
 * @className JobPaymentRequestServiceImpl
 * @description 用工发佣申请相关操作业务服务2
 * @date 2020/12/23
 **/


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Slf4j
@Service(value = "jobPaymentRequestServiceImpl")
@Transactional(rollbackFor = Exception.class)
public class JobPaymentRequestServiceImpl implements IPaymentRequestService {


    @Override
    public synchronized Integer request(StrategyCenter strategyCenter) throws Exception {
        System.out.println("用工发佣");
        return 2;
    }

}